package application;


import java.io.PrintWriter;
import javax.swing.JFrame;
import framework.*;


/**
 * Music Player system.
 * 
 * @author Zhu Leyao, Chen Yongbing, Lin Kexin
 *
 */
public class MusicPlayer {

	/**
	 * The serial number.
	 */

	
	/**
	 * Standard error stream.
	 */
	static private PrintWriter stdErr = new PrintWriter(System.err, true);
	
	/**
	 * The register window width in pixels.
	 */
	static private int REGISTER_WIDTH = 300;
	
	/**
	 * The register window height in pixels.
	 */
	static private int REGISTER_HEIGHT = 200;
	
	
	
	
	public static void main(String[] args) {
		
		MusicPlayer mp = new MusicPlayer();
		mp.run();
		
	}
	
	
	private void run() {
		
		JFrame loginFrame = new RegisterFrame();
		loginFrame.setTitle("登录/注册");
		loginFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		loginFrame.setSize(REGISTER_WIDTH,REGISTER_HEIGHT);
		loginFrame.setResizable(true);
		loginFrame.setVisible(true);
		loginFrame.setLocationRelativeTo(null);
		
	}



}
	
